package run.siyuan.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;
import run.siyuan.service.SsmService;

/**
 * @program: sy_spring
 * @description:
 * @author: SY
 * @create: 2021-03-30 12:09
 **/
@Controller
@ResponseBody
@RequestMapping("ssm")
public class SsmController {

    @Autowired
    private SsmService ssmService;

    @RequestMapping(value = "test",method = RequestMethod.GET)
    public Object ssmTest(){
        System.out.println("ssm-test");
        return ssmService.getList();
    }

}
